// Date:   Sat Aug 16 05:53:05 PM 2025
// Mail:   lunar_ubuntu@qq.com
// Author: https://github.com/xiaoqixian

#pragma once
#include "common.hpp"

#include <opencv2/opencv.hpp>
#include <openvino/openvino.hpp>

void yolov5_preprocess(
  cv::Mat const& img,
  int width,
  int height,
  ov::Tensor& out_tensor
);

std::vector<YoloBox> yolov5_postprocess(
  ov::Tensor& out_tensor,
  int width,
  int height,
  int input_width,
  int input_height,
  float conf_threshold,
  float nms_threshold
);
